<style>
    .bootstrap-select>.dropdown-toggle{
        width: 180px;
    }
</style>
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <input id="c-staff_id" class="form-control" name="row[staff_id]" style="display: none" type="text" value="{$staff_id|htmlentities}">
    <div  style="margin-left: auto;margin-right: auto; width: 500px;">
        <a class="btn btn-primary btn-embossed my-button  month_check" href="#" >录入月度绩效</a>
        <a class="btn btn-primary btn-embossed my-button  quarter_check" href="#">录入季度绩效</a>
        <a class="btn btn-primary btn-embossed  my-button  year_check" href="#">录入年度绩效</a>
    </div>

    <div class="month" style="margin-top: 50px;">
        <div class="form-group">
            <div class="form-inline">
                <label class="control-label col-xs-12 col-sm-2">绩效值:</label>
                <div class="col-xs-12 col-sm-1">
                    <input id="c-nums" class="form-control "   name="row[nums]" type="text" value="" >
                </div>
            </div>
            <div class="form-inline">
            <label class="control-label col-xs-12 col-sm-3">{:__('Achievements_time')}:</label>
            <div class="col-xs-12 col-sm-1">
                <input id="c-achievements_time" class="form-control datetimepicker"  data-date-format="YYYY-MM" data-use-current="true" name="row[achievements_time]" type="text" value="{:date('Y-m-d H:i:s')}" >
            </div>
            </div>
        </div>
    </div>

    <div class="quarter" style="margin-top: 50px;">
        <div class="form-group">
            <div class="form-inline">
                <label class="control-label col-xs-12 col-sm-2">绩效值:</label>
                <div class="col-xs-12 col-sm-1">
                    <input id="c-qnums" class="form-control "   name="row[qnums]" type="text" value="" >
                </div>
            </div>
            <div class="form-inline">
                <label class="control-label col-xs-12 col-sm-3">{:__('Achievements_time')}:</label>
                <div class="col-xs-12 col-sm-1">
                    <input id="c-achievementsq_time" class="form-control datetimepicker"  data-date-format="YYYY" data-use-current="true" name="row[achievementsq_time]" type="text" value="{:date('Y')}"  >
                </div>
            </div>
            <div class="form-inline">
                <label class="control-label col-xs-12 col-sm-3">季度:</label>
                <div class="col-xs-12 col-sm-1">
                    <select  id="c-quarter" class="form-control selectpicker" name="row[quarter]" >
                        {foreach name="tagList" item="vo"}
                        <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
    </div>
    <div class="year" style="margin-top: 50px;">
        <div class="form-group">
            <div class="form-inline">
                <label class="control-label col-xs-12 col-sm-2">绩效值:</label>
                <div class="col-xs-12 col-sm-1">
                    <input id="c-yearnums" class="form-control"   name="row[yearnums]" type="text" value="" >
                </div>
            </div>
            <div class="form-inline">
                <label class="control-label col-xs-12 col-sm-3">{:__('Achievements_time')}:</label>
                <div class="col-xs-12 col-sm-1">
                    <input id="c-year_achievements_time" class="form-control datetimepicker"  data-date-format="YYYY" data-use-current="true" name="row[year_achievements_time]" type="text" value="{:date('Y')}" >
                </div>
            </div>
        </div>
    </div>



    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed ">{:__('OK')}</button>
        </div>
    </div>
</form>

